home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 January
/
PCWorld_2007-01_cd.bin
/
v cisle
/
widget
/
widget.exe
/
Smarter_Stickies.widget
/
Smarter Stickies.widget
/
Contents
/
Smarter Stickies.kon
< prev
next >
Wrap
Extensible Markup Language
|
2006-07-27
|
5KB
|
155 lines
<?xml version="1.0" encoding="ISO-8859-1"?>
<?konfabulator xml-strict="true"?>
<widget version="1.3" minimumVersion="3.0" defaultTracking="rectangle">
<author>William C Barnes</author>
<copyright>Copyright ⌐2006 William C. Barnes - All Rights Reserved</copyright>
<!--
Issues:
Smarter Stickies has not been tested on the macintosh platform.
I am doubtful that all the features will work, particularly
help and alarm sound selection. While I use onMultiClick, all
functionality is accessible through context menus.
I'm packaging this in the older zip format because the newer
flat file format combined with an apparent bug in the file
selector makes selecting the sound files I provide impossible.
In the flat format, you must use widget.extractFile() to make
files accessible to the file selector - It returns an absolute
path to the file. The problem is that Preference.directory
(and FormField.directory) don't seem to work with absolute
paths in windows ("C:/anything" defaults to "My Documents"
in the file selection dialog). I've searched the support
forums and see the file selection problem mentioned
several times but no hint of a real solution.
-->
<about-box>
<image>about.png</image>
<about-version
hOffset="64"
vOffset="109"
>
</about-version>
</about-box>
<window name="stickyPad" title="Smarter Stickies"></window>
<preference name="disclaimerAccept" hidden="1"/>
<preference name="noteWidth" hidden="1" defaultValue="150"/>
<preference name="noteHeight" hidden="1" defaultValue="150"/>
<preference name="noteHoffset" hidden="1" />
<preference name="noteVoffset" hidden="1" />
<preference name="font" defaultValue="Comic sans MS" hidden="1" />
<preference name="textSize" defaultValue="18" hidden="1" />
<preference name="textColor" defaultValue="#000000" hidden="1" />
<preference name="noteColor" defaultValue="#FFFF60" hidden="1" />
<preference name="borderColor" defaultValue="#FFFF90" hidden="1" />
<preference name="activeColor" defaultValue="#F0F000" hidden="1" />
<preference
name="almSound"
type="selector"
defaultValue="BEEPPAGER.WAV"
style="open"
title="Alarm Sound"
description="Sound to be played when an alarm occurs."
directory="."
>
<kind>files</kind>
<extension>.wav</extension>
<extension>.au</extension>
<extension>.snd</extension>
<extension>.mp3</extension>
</preference>
<preference
name="padColor"
type="color"
defaultValue="#FFFF60"
title="Pad Color"
description="Color of the pad, unless the following option is set."
/>
<preference
name="defaultColorPad"
type="checkbox"
defaultValue="0"
title="Set pad color to default sticky color."
/>
<preference
name="hidePadOnStartup"
type="checkbox"
defaultValue="0"
title="Hide pad on startup"
description="To make the pad visible, select Smarter Stickies from the Yahoo Widget Engine context menu."
/>
<preference
name="setItems"
type="popup"
defaultValue="0"
title="Values:"
description="The following options will change these values."
notSaved="true"
>
<option>Colors</option><optionValue>0</optionValue>
<option>Colors and Typeface</option><optionValue>1</optionValue>
<option>Colors, Typeface and size</option><optionValue>2</optionValue>
<option>Almost everything</option><optionValue>3</optionValue>
</preference>
<preference
name="setFactoryDefaults"
type="checkbox"
defaultValue="0"
title="Set defaults to original values."
notSaved="true"
/>
<preference
name="setVisible"
type="checkbox"
defaultValue="0"
title="Set visible stickies to default values."
notSaved="true"
/>
<preferenceGroup name="hotkeys" title="Hotkeys"/>
<preference
group="hotkeys"
name="newKey"
type="hotkey"
title="New Sticky"
/>
<preference
group="hotkeys"
name="searchKey"
type="hotkey"
title="Search Stickies"
/>
<preference
group="hotkeys"
name="hideShowKey"
type="hotkey"
title="Hide/Show All Stickies"
/>
<preference
group="hotkeys"
name="deleteKey"
type="hotkey"
title="Delete Sticky"
description="Please read the Hotkeys section of the help file before assigning these keys."
/>
<action trigger="onLoad" file="stickies.js"/>
<action trigger="onUnload"> <![CDATA[
saveall();
]]> </action>
<action trigger="onWakeFromSleep"> <![CDATA[
wakeup();
]]> </action>
<action trigger="onPreferencesChanged"> <![CDATA[
applyPreferences();
]]> </action>
</widget>